package com.qyhl.party.party.supplement;

import com.qyhl.webtv.commonlib.entity.party.PartyLoginBean;
import com.qyhl.webtv.commonlib.entity.party.PartyZoneBean;

import java.util.List;

public interface PartySupplementContract {
    interface PartySupplementView {
        void setCode(String msg);

        void registerSuccess(PartyLoginBean bean);

        void registerError(String msg);

        void setZoneList(List<PartyZoneBean> beanList);

        void setZoneError(String msg);
    }

    interface PartySupplementPresenter {
        void getCode(String phone);

        void getZoneList();

        void register(String phone, String name, String code, String card, int zoneId, int depId, String polFace, int isWork);

        void change(String phone, String name, String token, String card, int zoneId, int depId, String polFace, int isWork);

        void setCode(String msg);

        void registerSuccess(PartyLoginBean bean);

        void registerError(String msg);

        void setZoneList(List<PartyZoneBean> beanList);

        void setZoneError(String msg);
    }

    interface PartySupplementModel {
        void getCode(String phone);

        void getZoneList();

        void register(String phone, String name, String code, String card, int zoneId, int depId, String polFace, int isWork);

        void change(String phone, String name, String token, String card, int zoneId, int depId, String polFace, int isWork);
    }
}
